/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing_class;


import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import stendcontrol.Experiment;
import stendcontrol.ExperimentContainer;
import stendcontrol.ExperimentInputStream;

/**
 *
 * @author RATSUF
 */
public class ExperimentInputStream_test {
    
    public static void main(String[] args) throws FileNotFoundException, IOException, ClassNotFoundException {
        FileInputStream fis = new FileInputStream("EOS.ser");
        ExperimentInputStream eis = new ExperimentInputStream(fis);
        Experiment expin = eis.readExp();
        eis.close();
        ExperimentContainer ec = new ExperimentContainer();
        ec.addExp(expin);
        ViewerExperimentsModel_Test vf = new ViewerExperimentsModel_Test(ec);
        vf.setVisible(true);
    }
}
